package com.chat.vo.params;

import org.springframework.web.socket.WebSocketSession;

/**
 * 在线用户实体信息
 * 
 * @author lwh
 *
 */
public class OnlinePeopleVo {
	
	//用户账号
	private String userName;
	//token
	private String token;
	//用户会话对象
	private WebSocketSession session;
	//OnlinePeopleVo对象创建时间
	private String createtime;
	
	public OnlinePeopleVo() {
	}

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public WebSocketSession getSession() {
		return session;
	}
	public void setSession(WebSocketSession session) {
		this.session = session;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	@Override
	public String toString() {
		return "OnlinePeopleVo [userName=" + userName + ", token=" + token + ", session=" + session
				+ ", createtime=" + createtime + "]";
	}
	
}
